from core.data_help import TextFilter,SentenceCut,load_stop_words
from core.qa_help import QA
from core.database_help import DataBaseCall
from  py2neo import NodeMatcher, RelationshipMatcher
import jieba


'''预加载数据'''
sc = SentenceCut(load_stop_words())
dbc = DataBaseCall()
dbc.connect_mysql()
dbc.connect_neo4j()
tf = TextFilter(sc)
qa = QA()
ind_words = ['供给','需求','自然环境']
events = list(dbc.node_selector.match('Event'))

